package com.demo.service;

import com.demo.dto.Result;
import com.demo.dto.UserDTO;
import com.demo.entity.Answer;
import com.demo.entity.User;
import com.demo.entity.UserFollow;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Zeng
 * @since 2022-03-23
 */
public interface UserFollowService extends IService<UserFollow> {

    Result<UserFollow> follow(Integer targetUserId);

    Result<List<UserDTO>> getFollowingListByCurrentUserId();
}
